package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.ChannelDto;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;

public interface AdChannelService extends IService<AdChannel> {
    //分页查询
    public ResponseResult findByNameAndPage(ChannelDto channelDto);

    //新增
    public ResponseResult insert(AdChannel adChannel);

    //更新
    public ResponseResult update(AdChannel adChannel);


    //删除
    public ResponseResult deleteById(Integer id);


}
